<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/**
 * @var yii\web\View $this
 * @var mdm\admin\models\searchs\Menu $model
 * @var yii\widgets\ActiveForm $form
 */
?>

<div class="box-header">
    <div class="container-fluid">
        <div class="row">
            <?php $form = ActiveForm::begin([
                'action' => ['index'],
                'method' => 'get',
            ]); ?>

            <?//= $form->field($model, 'id') ?>

            <?= $form->field($model, 'name') ?>

            <?= $form->field($model, 'parent') ?>

            <?= $form->field($model, 'route') ?>

            <?//= $form->field($model, 'data') ?>

            <div class="form-group">
                <?= Html::submitButton('<span class="fa fa-search"> 搜索</span>', ['class' => 'btn btn-primary']) ?>
                <?= Html::resetButton('<span class="fa fa-refresh"> 重置</span>', ['class' => 'btn btn-default']) ?>
                <div class="help-block"></div>
            </div>

            <?php ActiveForm::end(); ?>

        </div>
    </div>
</div>
